﻿using System;
using System.Runtime.Serialization;

namespace Common.Contract.Customer.Record
{
    [DataContract]
    public class CustomerRecord
    {
        [DataMember]
        public string LegalId { get; set; }
        [DataMember]
        public string BranchId { get; set; }
        [DataMember]
        public string CIF { get; set; }
        [DataMember]
        public string Dao { get; set; }
        [DataMember]
        public string DaoName { get; set; }
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public decimal? IndustryCode { get; set; }
        [DataMember]
        public string VpbIndustry { get; set; }
        [DataMember]
        public string DoanhThu { get; set; }
        [DataMember]
        public string EmailAddress { get; set; }
        [DataMember]
        public string VpbIndustryEn { get; set; }
        [DataMember]
        public string Address { get; set; }
        [DataMember]
        public DateTime? BirthIncorpDate { get; set; }
        [DataMember]
        public DateTime DateOpenCif { get; set; }
        [DataMember]
        public BranchRecord Branch { get; set; }
        [DataMember]
        public string Balance { get; set; }
        [DataMember]
        public string NhomNo { get; set; }
        [DataMember]
        public string CusStatus { get; set; }
        [DataMember]
        public string BusinessStatus { get; set; }
        [DataMember]
        public string BusinessDate { get; set; }
        [DataMember]
        public DateTime ModifiedDate { get; set; }
        //need to update info
        [DataMember]
        public int NoOfInfoNeedToUpdate { get; set; }
        //info for card
        [DataMember]
        public double ScoredCard { get; set; }
        [DataMember]
        public int NoOfCard { get; set; }
        [DataMember]
        public string NoUser { get; set; }
        [DataMember]
        public string NoUserActived { get; set; }
        //info for Pos
        [DataMember]
        public string NoPos { get; set; }
        [DataMember]
        public string TransactionInMonth { get; set; }
        [DataMember]
        public string CustType { get; set; }
        [DataMember]
        public decimal? CustTypeCode { get; set; }
        [DataMember]
        public string CustTypeName { get; set; }
        [DataMember]
        public string Toi { get; set; }
        //info for subsegment
        [DataMember]
        public string SubSegment { get; set; }
        //info for trade 
        [DataMember]
        public string BalTtqt { get; set; }
        [DataMember]
        public string BalBl { get; set; }
        [DataMember]
        public string DuNoTradeLoan { get; set; }
        [DataMember]
        public string Chuoi { get; set; }
    }
}
